import request from "@/utils/request";

export function fetchList(params) {
  return request({
    url: "/dms/order/list",
    method: "get",
    params: params,
  });
}

export function deleteOrder(params) {
  return request({
    url: "/dms/order/delete",
    method: "get",
    params: params,
  });
}

export function getOrderDetail(id) {
  return request({
    url: "/dms/order/" + id,
    method: "get",
  });
}
